package com.bdqn.t382.example;

import com.bdqn.t382.entity.Pet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

public class Employee implements Serializable {
    private String name;
    private int age;
    private String position;

    private static final Logger LOGGER = LoggerFactory.getLogger(Pet.class);


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public void introduce() {
        System.out.println("大家好，我是" + this.position + "岗位的" + this.name + "，");
        System.out.println("今年" + this.age + "岁.");
    }
}
